/* 现代UI样式 */
.glass-effect {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.multi-shadow {
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.1),
    0 16px 32px rgba(0, 0, 0, 0.05);
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:active {
  transform: scale(0.98);
}

.focus-glow {
  transition: box-shadow 0.3s ease;
}

.focus-glow:focus {
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.3);
}

.gradient-bg {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.gradient-text {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rounded-modern {
  border-radius: 16px;
}

.input-modern {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 16px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.input-modern:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.btn-modern {
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-modern::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn-modern:active::after {
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

.tag-modern {
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.tag-modern.active {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.progress-modern {
  height: 6px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-modern .bar {
  height: 100%;
  background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step.active .step-dot {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.step-label {
  font-size: 12px;
  color: #909399;
  transition: all 0.3s ease;
}

.step.active .step-label {
  color: #ff6b6b;
  font-weight: 500;
}

.step-line {
  flex: 1;
  height: 2px;
  background-color: #e0e0e0;
  margin: 0 8px;
  position: relative;
  top: 12px;
}

.step-line.active {
  background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
}

/* 新增样式 */
.floating-label-input {
  position: relative;
  margin-bottom: 24px;
}

.floating-label-input input {
  width: 100%;
  height: 56px;
  padding: 20px 16px 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.floating-label-input label {
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 16px;
  color: #909399;
  pointer-events: none;
  transition: all 0.3s ease;
}

.floating-label-input input:focus,
.floating-label-input input:not(:placeholder-shown) {
  padding-top: 20px;
  border-color: #ff6b6b;
}

.floating-label-input input:focus + label,
.floating-label-input input:not(:placeholder-shown) + label {
  top: 8px;
  font-size: 12px;
  color: #ff6b6b;
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 0 12px;
  transition: all 0.3s ease;
}

.social-login-btn:active {
  transform: scale(0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-3d-inner {
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card-3d:hover .card-3d-inner {
  transform: rotateY(5deg) rotateX(5deg);
}

.animated-gradient-bg {
  background: linear-gradient(-45deg, #ff6b6b, #ff8e8e, #ff9e9e, #ffb6b6);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.btn-icon {
  margin-left: 8px;
  font-size: 16px;
}

.form-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
}

.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

.form-divider-text {
  padding: 0 16px;
  color: #909399;
  font-size: 14px;
}

.checkbox-modern {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  cursor: pointer;
}

.checkbox-modern input {
  display: none;
}

.checkbox-modern .checkbox-icon {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.checkbox-modern input:checked + .checkbox-icon {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  border-color: transparent;
}

.checkbox-modern input:checked + .checkbox-icon::after {
  content: "✓";
  color: white;
  font-size: 14px;
}

.checkbox-modern .checkbox-text {
  font-size: 14px;
  color: #606266;
}